package com.atguigu.tingshu.album.mapper;

import com.atguigu.tingshu.album.vo.CategoryVo;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.model.album.BaseCategoryView;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BaseCategoryViewMapper extends BaseMapper<BaseCategoryView> {

    //查询所有分类信息
    List<CategoryVo> getBaseCategoryList();


    //根据一级分类id查询二级分类rbc
    BaseCategoryView getCategoryById123rpc(@Param("albumId") Long id);
}
